function val=passSight(P,sight,d)
val1=(P<=sight+d);
val2=(P>=sight-d);
if sum(val1)+sum(val2)==6
    val=true;
else
    val=false;
end
end